<!DOCTYPE html>
<html lang="UTF-8" xmlns:th="http://www.thymeleaf.org">
<head th:replace="include-common :: common-head(~{::title})">
    <title>target</title>
</head>
<body>

<div th:replace="include-common :: common-nav"></div>

<div class="container-fluid">
    <div class="row">
        <div th:replace="include-common :: common-sidebar"></div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <ol class="breadcrumb">
                <li><a th:href="@{/admin/to/main/page.html}">首页</a></li>
                <li><a th:href="@{/admin/page.html}">数据列表</a></li>
                <li class="active">修改</li>
            </ol>
            <div class="panel panel-default">
                <div class="panel-heading">表单数据<div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i class="glyphicon glyphicon-question-sign"></i></div></div>
                <div class="panel-body">
                    <form th:action="@{/admin/update.html}" method="post"  role="form">
                        <input type="hidden" name="id" th:value="${admin.id}">
                        <input type="hidden" name="pageNum" th:value="${param.pageNum}">
                        <input type="hidden" name="keyword" th:value="${param.keyword}">
                        <div class="form-group">
                            <label for="exampleInputPassword1">登陆账号</label>
                            <input name="loginAcct" type="text" class="form-control" id="exampleInputPassword1" th:value="${admin.loginAcct}">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">用户名称</label>
                            <input name="userName" type="text" class="form-control" id="exampleInputPassword1" th:value="${admin.userName}">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputEmail1">邮箱地址</label>
                            <input name="email" type="email" class="form-control" id="exampleInputEmail1" th:value="${admin.email}">
                            <p class="help-block label label-warning">请输入合法的邮箱地址, 格式为： xxxx@xxxx.com</p>
                        </div>
                        <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-edit"></i> 修改</button>
                        <button type="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


</body>
</html>